package com.cpe.data.domain.physique.score;

import lombok.Data;

/**
 * 体质项目的详情
 */
@Data
public class PhysiqueScoreInfo {

	private String id;

	private String physiqueName;

	private Integer lowOrHigh;

	private Integer value;

	private String scoreInfo;

	public String getScoreInfo() {
		if ("体型".equals(physiqueName)) {
			if (lowOrHigh == 2) {
				scoreInfo = "正常";
			} else if (lowOrHigh == 0) {
				scoreInfo = "偏瘦";
			} else if (lowOrHigh == 1) {
				scoreInfo = "偏胖";
			}
		}
		return scoreInfo;
	}
}
